// Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.

// -------------------------------------------------------------------------
//  File name:   IBreakableGlassSystem.h
//  Version:     v1.00
//  Created:     11/11/2011 by ChrisBu.
//  Compilers:   Visual Studio 2010
//  Description: Interface to the Breakable Glass System
////////////////////////////////////////////////////////////////////////////

#ifndef __IBREAKABLEGLASSSYSTEM_H__
#define __IBREAKABLEGLASSSYSTEM_H__
#pragma once

struct EventPhysCollision;

struct IBreakableGlassSystem
{
	virtual ~IBreakableGlassSystem() {}

	virtual void Update(const float frameTime) = 0;
	virtual bool BreakGlassObject(const EventPhysCollision& physEvent, const bool forceGlassBreak = false) = 0;
	virtual void ResetAll() = 0;
	virtual void GetMemoryUsage(ICrySizer* pSizer) const = 0;
};

#endif // __IBREAKABLEGLASSSYSTEM_H__
